<!doctype html>
<html><head>
<meta charset="utf-8">
<title>[(${dto.menu.title})]</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<!-- jQuery-->
<script type="text/javascript" src="/static/plugins/jquery/jquery-3.6.0.min.js"></script>
<!-- layui-->
<link rel="stylesheet" href="/static/plugins/layui/2.7.6/css/layui.css" media="all">
<script src="/static/plugins/layui/2.7.6/layui.js" charset="utf-8"></script>
<style type="text/css">
.layui-this{background-color: }
</style>
</head>
<body style="padding: 10px 0 0 10px;">
<div class="layui-tab layui-tab-brief" style="background-color: #fff;">
	<ul class="layui-tab-title">
		<li class="layui-this">选品库-已选</li>
		<li data-loaded="0" onclick="doReload(this, 'id_iframe_2')">选品库-待选</li>
	</ul>
	<div class="layui-tab-content">
		<div class="layui-tab-item layui-show">
			<iframe id="id_iframe_1" frameborder="0" scrolling="yes" style="width:99%; height:100%;" src="/indexCommonOfMenu?menuId=30"></iframe>
		</div>
		<div class="layui-tab-item">
			<iframe id="id_iframe_2" frameborder="0" scrolling="yes" style="width:99%; height:100%;" src="/indexCommonOfMenu?menuId=29"></iframe>
		</div>
	</div>
</div>
<script type="text/javascript">
$(function() {
	var height = window.innerHeight - 50;
	$('#id_iframe_1').css('height', height + 'px');
	$('#id_iframe_2').css('height', height + 'px');
});
function doReload(dom, id_iframe) {
	var loaded = $(dom).attr('data-loaded');
	if(loaded == 0) {
		$(dom).attr('data-loaded', 1);
		document.getElementById(id_iframe).contentWindow.location.reload(true);
	}
}
</script>
</body>
</html>